package top.gelonggld.constants;

/**
 * Created by gelon on 2017/7/20.
 */
public class Cons {

    public static final String PROPTY_API = "ApiModelProperty";
    public static final String METHOD_API = "ApiOperation";
    public static final String CLASS_API = "Api";

    public static final String PROPTY_INSERT_NOTE = "@ApiModelProperty(value = \"{anno}\", required = true)";
    public static final String METHOD_REQ_NOTE = "@ApiOperation(value = \"{anno}\", notes = \"{anno}\", httpMethod = \"{methodType}\")";
    public static final String METHOD_NOTE = "@ApiOperation(value = \"{anno}\", notes = \"{anno}\")";
    public static final String CLASS_NOTE_ = "@Api(value = \"{path}\", description = \"{anno}\")";

    public static final String SIGN_ANNO = "{anno}",SIGN_METHOD_TYPE = "{methodType}",SIGN_PATH = "{path}";

    public static final String GET_NOTE = "GetMapping",
    POST_NOTE = "PostMapping",
    DELETE_NOTE = "DeleteMapping",
    PUT_NOTE = "PutMapping",
    ALL_NOTE = "RequestMapping";

    public static final String GET = "GET",POST = "POST",DELETE = "DELELE",PUT = "PUT",ALL = "ALL";

}
